title_orthodox_cardinal = {
	religion = orthodox
	can_elect_head = yes
	
	grant_limit = 9
	
	realm_in_name = no
	show_as_title = yes
	
	opinion_effect = 20
	dignity = 0.9
	
	monthly_salary = 0.1
	monthly_prestige = 0.5
	
	allow = {
		religion = orthodox
		Or = {
			is_theocracy = yes
			holy_order = yes
		}
		k_orthodox = {
			holder_scope = {
				is_within_diplo_range = ROOT
			}
		}
		
		NOT = {
			top_liege = {
				any_vassal = {
					any_claim = {
						title = k_orthodox
					}
				}
			}
		}
	}
	
	gain_effect = {
	}
	
	lose_effect = {
	}

	message = yes
}

title_nestorian_cardinal = {
	religion = nestorian
	can_elect_head = yes
	
	grant_limit = 9
	
	realm_in_name = no
	show_as_title = yes
	
	opinion_effect = 20
	dignity = 0.9
	
	monthly_salary = 0.1
	monthly_prestige = 0.5
	
	allow = {
		religion = nestorian
		Or = {
			is_theocracy = yes
			holy_order = yes
		}
		d_nestorian = {
			holder_scope = {
				is_within_diplo_range = ROOT
			}
		}
		
		NOT = {
			top_liege = {
				any_vassal = {
					any_claim = {
						title = d_nestorian
					}
				}
			}
		}
	}
	
	gain_effect = {
	}
	
	lose_effect = {
	}

	message = yes
}